FROM fabric8/java-centos-openjdk8-jdk:1.5.2

USER root
#RUN curl -o /bin/jq -L https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64 \
#	&& chmod +x /bin/jq

ENV JAVA_OPTIONS="-server -XX:+HeapDumpOnOutOfMemoryError -Duser.timezone=Asia/Shanghai \
				-Dspring.profiles.active=default"

COPY *.jar /deployments/app.jar
EXPOSE 8080